<template>
  <section>
    <el-form-item label="标签名称" v-if="selectWg.title != null">
      <el-input v-model="selectWg.title"></el-input>
    </el-form-item>
    <el-form-item label="标签宽度(px)" v-if="selectWg.title != null">
      <el-input-number v-model="selectWg.col.labelWidthNum" :min="30" :max="300" size="small" @change="val => selectWg.col.labelWidth = `${val}px`"/>
    </el-form-item>
  </section>
</template>
<script>

export default {
  props: {
    selectWg: {
      type: Object,
      required: true
    }
  },
  data(){
    return {

    }
  },
  computed: {

  }
}
</script>
